<?php
/*
 * @model Post
 */
?>
<div class="box">
	<div class="box-title">
		<h4><i class="icon-briefcase"></i>Post Tags</h4>
	</div>
	<div class="box-content">
		<div class="control-group">
			<?php echo $form->labelEx($model,'tags', array('class'=>'control-label')); ?>
			<div class="controls">
				<div class="tags-container span5">
				<?php echo $form->checkBoxList($model, 'tags', Tag::model()->getListData(), array(
					'separator'=>'', 
					'template'=>'<div class="chk">{input} {label}</div>',
					'container'=>'div'
				)); ?>
				</div>
			</div>
		</div>
	</div>
</div>
